package com.grade.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.grade.common.annotation.Excel;
import com.grade.common.core.domain.BaseEntity;

/**
 * 评分指标项对象 g_grade_item
 * 
 * @author grade
 * @date 2021-10-17
 */
public class GradeItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 指标项ID */
    private Long id;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long typeId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String typeName;

    /** 评价标准内容 */
    @Excel(name = "评价标准内容")
    private String itemContent;

    /** 封顶分数 */
    @Excel(name = "封顶分数")
    private Integer maxScore;
    private Float weight;

    /** 排序号 */
    @Excel(name = "排序号")
    private Integer itemOrder;

    /** 指标项状态（0正常 1停用） */
    @Excel(name = "指标项状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private Long templateId;

    private String templateName;

    private String firstColumn;
    private String secondColumn;
    private String threeColumn;
    private String fourColumn;
    private String fiveColumn;
    private String sixColumn;

    private Integer firstOrder;
    private Integer secondOrder;
    private Integer threeOrder;
    private Integer fourOrder;
    private Integer fiveOrder;
    private Integer sixOrder;

    private Integer inputMax;
    private Integer inputMin;

    private String deductFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setItemContent(String itemContent) 
    {
        this.itemContent = itemContent;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getItemContent()
    {
        return itemContent;
    }

    public Integer getMaxScore() {
        return maxScore;
    }

    public void setMaxScore(Integer maxScore) {
        this.maxScore = maxScore;
    }

    public Float getWeight() {
        return weight;
    }

    public void setWeight(Float weight) {
        this.weight = weight;
    }

    public Integer getItemOrder() {
        return itemOrder;
    }

    public void setItemOrder(Integer itemOrder) {
        this.itemOrder = itemOrder;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getFirstColumn() {
        return firstColumn;
    }

    public void setFirstColumn(String firstColumn) {
        this.firstColumn = firstColumn;
    }

    public String getSecondColumn() {
        return secondColumn;
    }

    public void setSecondColumn(String secondColumn) {
        this.secondColumn = secondColumn;
    }

    public String getThreeColumn() {
        return threeColumn;
    }

    public void setThreeColumn(String threeColumn) {
        this.threeColumn = threeColumn;
    }

    public String getFourColumn() {
        return fourColumn;
    }

    public void setFourColumn(String fourColumn) {
        this.fourColumn = fourColumn;
    }

    public String getFiveColumn() {
        return fiveColumn;
    }

    public void setFiveColumn(String fiveColumn) {
        this.fiveColumn = fiveColumn;
    }

    public String getSixColumn() {
        return sixColumn;
    }

    public void setSixColumn(String sixColumn) {
        this.sixColumn = sixColumn;
    }

    public Integer getFirstOrder() {
        return firstOrder;
    }

    public void setFirstOrder(Integer firstOrder) {
        this.firstOrder = firstOrder;
    }

    public Integer getSecondOrder() {
        return secondOrder;
    }

    public void setSecondOrder(Integer secondOrder) {
        this.secondOrder = secondOrder;
    }

    public Integer getThreeOrder() {
        return threeOrder;
    }

    public void setThreeOrder(Integer threeOrder) {
        this.threeOrder = threeOrder;
    }

    public Integer getFourOrder() {
        return fourOrder;
    }

    public void setFourOrder(Integer fourOrder) {
        this.fourOrder = fourOrder;
    }

    public Integer getFiveOrder() {
        return fiveOrder;
    }

    public void setFiveOrder(Integer fiveOrder) {
        this.fiveOrder = fiveOrder;
    }

    public Integer getSixOrder() {
        return sixOrder;
    }

    public void setSixOrder(Integer sixOrder) {
        this.sixOrder = sixOrder;
    }

    public Integer getInputMax() {
        return inputMax;
    }

    public void setInputMax(Integer inputMax) {
        this.inputMax = inputMax;
    }

    public Integer getInputMin() {
        return inputMin;
    }

    public void setInputMin(Integer inputMin) {
        this.inputMin = inputMin;
    }

    public String getDeductFlag() {
        return deductFlag;
    }

    public void setDeductFlag(String deductFlag) {
        this.deductFlag = deductFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeId", getTypeId())
            .append("itemContent", getItemContent())
            .append("maxScore", getMaxScore())
            .append("itemOrder", getItemOrder())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
